<template>
  <div class='test'>
    <el-button :style="{color:'测试1'}" @click="()=>{this.awaa = '测试2'}" v-if="awaa == '测试3'">点击</el-button>
  </div>
</template>

<script>
export default {
  name: 'test',
  components: {},
  data() {
    return {
      awaa: '测试3'
    };
  },
  mounted() {
    console.log('测试4');
  },
  methods: {

  },
}
</script>